package data;

public class Teacher {
    private String name;
    private int id;
    private String user;
    private String pwd;

    private String session;

    public int getId() {
        return id;
    }
    public String simplSql(){
        return "("+name+","+user+","+pwd+")";
    }

    public Teacher setId(int id) {
        this.id = id;
        return this;
    }

    public String getUser() {
        return user;
    }

    public Teacher setUser(String user) {
        this.user = user;
        return this;
    }

    public String getPwd() {
        return pwd;
    }

    public Teacher setPwd(String pwd) {
        this.pwd = pwd;
        return this;
    }

    public String getSession() {
        return session;
    }

    public Teacher setSession(String session) {
        this.session = session;
        return this;
    }

    public String getName() {
        return name;
    }

    public Teacher setName(String name) {
        this.name = name;
        return this;
    }
}
